<?php
/**
 * Created by PhpStorm.
 * User: fuguang
 * Date: 2018/3/21
 * Time: 下午11:27
 */
?>
<?php foreach ( $news as $value ){ ?>
    <div class="home-item">
        <a class="item-link" href="/article-<?= $value['id'];?>.html">
            <p><?= $value['title'];?></p>
            <img src="http://image.yanbing.b<?= $value['image'];?>" alt=""/>
        </a>
        <div class="item-info">
            <span class="item-time"><?= date("Y-m-d H:i:s",$value['ctime']);?></span>
            <span class="item-finger tagpage" data-newsid="<?= $value['id'];?>"><?= $value['up'];?></span>
        </div>
    </div>
<?php } ?>
